import 'package:json_annotation/json_annotation.dart';
part 'kh_room_rank_user_model.g.dart';

@JsonSerializable()
class KHRoomRankUserModel {
  int? topUserId;
  String? topUserHeadUrl;
  String? userName;
  bool? isShowMoreItem; //是否显示点点点item

  /// 黑金有效期
  int? validDays;

  /// uid
  int? userId;

  /// 贵宾魅力值限制
  int? vipCharmsLimit;

  /// 房间号
  String? roomNo;
  bool? isShow;

  /// 房间贵宾字段（0无，1黄金，2黑金）
  int? roomVipType;
/**
* 贵宾大图标
*/
  String? vipUrl;
/**
* 贵宾小图标
*/
  String? vipSimpleUrl;
// 1激活  2失效  3开通
  int? vipStatusChange;

  /// 房间贵宾新增
//新贵宾等级1.黄金贵宾 2.铂金贵宾 3.钻石贵宾 4.星耀贵宾 5.闪耀贵宾 6.荣耀贵宾
  int? roomNewVipType;
//新贵宾图标
  String? vipNewUrl;
//新贵宾小图标
  String? vipNewSimpleUrl;
//顶部设置图标
  String? entranceIcon;
//顶部设置图标圆形
  String? entranceIconV2;
//房间扩展字段
  String? userExtInfo;

  KHRoomRankUserModel();
  factory KHRoomRankUserModel.fromJson(Map<String, dynamic> json) =>
      _$KHRoomRankUserModelFromJson(json);
  Map<String, dynamic> toJson() => _$KHRoomRankUserModelToJson(this);
}
